package com.unify.type;

import java.util.List;

import com.competition.web.entity.IGeoRoute;
import com.competition.web.entity.IPlanByRoute;

public class WalkPlan<T extends IGeoRoute> implements IPlanByRoute<T>{

	/**
	 * 起点经纬度
	 */
	private String origin;

	/**
	 * 终点经纬度
	 */
	private String destination;

	/**
	 * 公交方案列表
	 */
	private List<T> paths;

	public String getOrigin() {
		return origin;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public String getDestination() {
		return destination;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public List<T> getPaths() {
		return paths;
	}

	public void setPaths(List<T> paths) {
		this.paths = paths;
	}

	@Override
	public List<T> getTransits() {
		// TODO Auto-generated method stub
		return this.paths;
	}

}
